home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
telecomm
/
bbs
/
wwbbs.lha
/
WWBBS
/
Rexx
/
Session.rexx
Wrap
OS/2 REXX Batch file
|
1994-09-22
|
541b
|
45 lines
/*
** $VER: Session.rexx 2.0 (21.8.94)
*/
options results
dummy
newuser = 0
if local=0 then do
delay 150
end
ansidetect
if local=0 then do
logon
end
if local=1 then do
logon 'Sysop'
end
resultbuff = result
if resultbuff='NEWUSER' then do
/* New user routine */
register
rcbuff = rc
if rcbuff = 1 then newuser = 1
end
dologon
rcbuff = rc
if rcbuff = 1 then do
/* New user routine */
if newuser = 1 then do
edituser
editprefs
initfileglobal
end
/* Regular session routine */
readnews new
runmenu 'Main'
dologoff
end